package com.ocom.payhandle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.card.EntityXfDeviceInfo;
import com.ocom.common.entity.srvpaccess.XfWhiteInfo;
import com.ocom.common.vo.pyhandle.GetComWhiteListVo;

import java.util.List;

public interface XfWhiteInfoService extends IService<XfWhiteInfo> {

    XfWhiteInfo selectMaxId(Long companyId);

    List<XfWhiteInfo> selectList(Long companyId, int listFormat, Integer pId, Integer listState);

    XfWhiteInfo selectXFWhite(Long companyId, EntityXfDeviceInfo xfDeviceInfo);

    List<GetComWhiteListVo> getComWhiteList(Long companyId, Integer personVer, Integer listLimit);

    boolean deleteXfWhite(Long companyId, Integer pId);
}
